-- GENERATED SPELL FOR [Whirlwind Shredder] --


function spell0_11578(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13443,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11578', 15000, 1)
end

function Sorts_11578(pUnit, Event)
local choix_sorts_11578 = math.random(0, 0)
if choix_sorts_11578 == 0 then
pUnit:RegisterEvent('spell0_11578', 1, 1)
end
end

function mob11578_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11578', math.random(1500, 3000), 1)
end

function mob11578_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11578_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11578_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11578, 1, 'mob11578_Action')
RegisterUnitEvent(11578, 2, 'mob11578_Leave')
RegisterUnitEvent(11578, 3, 'mob11578_Kill')
RegisterUnitEvent(11578, 4, 'mob11578_Die')
